// pages/memorandum/memorandum.js
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
	wx.getStorage({
		key:'uid',
		success:(e)=>{
			this.setData({
				uid:e.data.uid
			})
		}
	})
  },
  name(e){
	  this.setData({
		  name:e.detail.value
	  })
  },
  year(e){
  	  this.setData({
  		  year:e.detail.value
  	  })
  },
  length(e){
  	  this.setData({
  		  length:e.detail.value
  	  })
  },
  goin(){
	  wx.navigateTo({
		  url:'detail/detail?http='+'https://gxyc.jxcqs.com/yangchebwl.aspx'+'&uid='+this.data.uid+'&carType='+this.data.name
		  +'&carYear='+this.data.year+'&millions='+this.data.length
	  })
  }
})